
<?php use_stylesheet('styleshop.css') ?>
<?php use_helper('Text') ?>

<?php slot(
  'title',
  sprintf('TibzSymfony Shop '));
  
  
?>




<h1>Shop</h1>


<?php foreach ($pager->getResults() as $shop_product): 
    
       
		 ?>


<?php include_partial('sfProducts/products', array('shop_product' =>  $shop_product) )?>
             
                    
                    <?php endforeach; ?>   
                    
                    
                    
                    <br />                                
         <?php if ($pager->haveToPaginate()): ?>                       

        <?php foreach ($pager->getLinks() as $page): ?>
      <?php if ($page == $pager->getPage()): ?>
        <?php echo $page ?>
      <?php else: ?>
        <a href="<?php echo url_for('shop', $shop_categs) ?>page=<?php echo $page ?>"><?php echo $page ?></a>
      <?php endif; ?>
    <?php endforeach; ?>
    <?php endif; ?>



















  
